home *** CD-ROM | disk | FTP | other *** search
- Installing MPT in an alternate location for use with modules:
- -------------------------------------------------------------
-
- Install the modules package into the default root. Once this is done,
- you can install the MPT software as follows.
-
- # inst -r /opt/mpt/"version" -f "location of mpt dist" -Vrulesoverride:on -a
-
- The "version" string should match the 4 digit release string of the
- particular mpt package you are instaling. This version can be determined
- as follows:
-
- # showprods -f "location of mpt dist" sma | grep -i mpt
- sma SMA 3.1.0.0 (MPT 1.2.0.0)
- sma.relnotes MPT 1.2.0.0 Release Notes
- sma.relnotes.relnotes MPT 1.2.0.0 Release Notes
-
- In the above example, version would be 1.2.0.0.
-
- Please note that -Vrulesoverride:on is needed to install due to the fact that
- /opt/mpt/"version" will not be a complete root but only a partial root
- containing only the mpt software. The -Vrulesoverride:on will turn off
- the verification of prequisite sub-systems.
-
- Once the software is installed, you must set the mpt link as follows:
-
- # cd /opt/mpt
- # ln -s "version" mpt (mpt modulefile uses this link)
-
- The mpt modulefile will work with the above general installation.
-
- To access the mpt software using modules:
-
- % source /opt/modules/modules/init/csh (should be added to .cshrc)
- % module load modules (should be added to .cshrc)
- % module load mpt (can be added to .cshrc)
-
- Creating a modulefile for a specific version of mpt:
- ----------------------------------------------------
-
- For each version of the MPT software you maintain, you can create
- a modulefile for it by copying the mpt modulefile to /opt/modulefiles
- as mpt."version". Then edit mpt."version" and change the value of
- MPT_LEVEL to "version".
-
- Example: You have installed version 1.2.0.1 as /opt/mpt/1.2.0.1.
- To create a modulefile for /opt/mpt/1.2.0.1, copy /opt/modulefiles/mpt
- to /opt/modulefiles/mpt.1.2.0.1. The edit /opt/modulefiles/mpt.1.2.0.1
- and change the value of MPT_LEVEL to 1.2.0.1. Users can then change
- between this version and any other version using the module swap command.
-
- % module swap mpt mpt.1.2.0.1
-